{% extends "template/common/base.html" %}
{% block menu %}
<li><a href="/home">首页</a></li>
<li class="active"><a href="/movie">电影</a></li>
<li><a href="/score">评分</a></li>
<li><a href="/word">词云</a></li>
<li><a href="/team">团队</a></li>
{% endblock %}
{% block head %}
<!-- ======= Our Team Section ======= -->
<section id="team" class="team">
  <div class="container">

    <div class="section-title">
      <h2>豆瓣电影Top250经典电影</h2>
      <p>展示豆瓣电影Top250详细信息</p>
    </div>

    <!-- ======= Counts Section ======= -->
    <section class="counts section-bg">
      <div class="container">
        <table class="table table-striped">
          <tr>
            <td>排名</td>
            <td>电影中文名称</td>
            <td>电影外国名称</td>
            <td>评分</td>
            <td>评价人数</td>
            <td>概述</td>
            <td>其他信息</td>
          </tr>
          {% for movie in movies %}
          <tr>
            <td>{{ movie[0] }}</td>
            <td>
              <a target="_blank" href="{{ movie[1] }}">
              {{ movie[3] }}
              </a>
            </td>
            <td>{{ movie[4] }}</td>
            <td>{{ movie[5] }}</td>
            <td>{{ movie[6] }}</td>
            <td>{{ movie[7] }}</td>
            <td>{{ movie[8] }}</td>
          </tr>
          {% endfor %}
        </table>
      </div>
    </section><!-- End Counts Section -->


  </div>
</section><!-- End Our Team Section -->

{% endblock %}